package com.fredia.terp.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * GeetestWeb配置文件
 * 
 *
 */
@Component
@ConfigurationProperties(prefix = "geetest.info")
@PropertySource("classpath:/properties/geetest.properties")
public class GeetestConfig {

	// 填入自己的captcha_id和private_key
	private String geetest_id;
	private String geetest_key;
	private boolean newfailback;
	private boolean debugCode;
	private String userid;

	public String getGeetest_id() {
		return geetest_id;
	}

	public String getGeetest_key() {
		return geetest_key;
	}

	public boolean isnewfailback() {
		return newfailback;
	}

	public boolean isNewfailback() {
		return newfailback;
	}

	public void setNewfailback(boolean newfailback) {
		this.newfailback = newfailback;
	}

	public void setGeetest_id(String geetest_id) {
		this.geetest_id = geetest_id;
	}

	public void setGeetest_key(String geetest_key) {
		this.geetest_key = geetest_key;
	}

	public boolean isDebugCode() {
		return debugCode;
	}

	public void setDebugCode(boolean debugCode) {
		this.debugCode = debugCode;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

}
